package com.example.myrecyclerview.bean;

import java.io.Serializable;

public class Book implements Serializable {

    private String name;
    private int coverId;

    public Book(String name, int coverId){
        this.setName(name);
        this.setCoverId(coverId);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCoverId() {
        return coverId;
    }

    public void setCoverId(int coverId) {
        this.coverId = coverId;
    }

}
